package com.andox.fn.inf.rpc.rest.exception;

import org.springframework.core.NestedRuntimeException;

/**   
 * @ClassName:   ServiceRuntimeException   
 * @author:      Andox
 * @date:        2019年7月29日 下午12:00:42   
 *     
 */
public class ServiceRuntimeException extends NestedRuntimeException{
	private static final long serialVersionUID = 8299981724649828041L;

	/**
	 * Construct a {@code NestedRuntimeException} with the specified detail message.
	 * @param msg the detail message
	 */
	public ServiceRuntimeException(String msg) {
		super(msg);
	}
	
	/**
	 * Construct a {@code NestedRuntimeException} with the specified detail message.
	 * @param msg the detail message
	 */
	public ServiceRuntimeException(Throwable e) {
		this(null, e);
	}

	/**
	 * Construct a {@code NestedRuntimeException} with the specified detail message
	 * and nested exception.
	 * @param msg the detail message
	 * @param cause the nested exception
	 */
	public ServiceRuntimeException(String msg, Throwable cause) {
		super(msg, cause);
	}
}
